package com.yilin.platform.entity.enums.user;

import com.baomidou.mybatisplus.annotation.EnumValue;

//角色类型
public enum RoleType {
    manager(0, "管理员"),
    employee(1, "员工"),
    api(2, "API");
    @EnumValue
    public Integer index;
    public String name;

    RoleType(Integer index, String name) {
        this.index = index;
        this.name = name;
    }
}